import { IsEmail, IsString } from 'class-validator';

/**
 * JWT验证入参
 * jwt validate
 */
export class JwtValidateUserDto {
  /**
   * 用户的id
   */
  @IsString()
  id: string;

  @IsEmail()
  email: string;
}
